package grape.workflow.rest.processinstance.mapper;

import grape.workflow.rest.processinstance.vo.ProcessInstanceRepresentationVo;
import org.flowable.ui.task.model.runtime.ProcessInstanceRepresentation;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/6/16 20:10
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ProcessInstanceWebMapper {

    ProcessInstanceRepresentationVo map(ProcessInstanceRepresentation representation);

}
